package hello.jax.rs;

import javax.ws.rs.Path;

import hello.model.HelloRsBean;
import org.springframework.stereotype.Service;

/**
 * @author majinding888@foxmail.com
 * @date 2016-12-30 下午5:44:09
 */
@Path("/sayHello2")
@Service
public class HelloServiceImpl2 implements HelloService {
	@Override
	public String sayHello(String a) {
		return "Hello2 " + a + ", Welcome to CXF RS Spring Boot World!!!";
	}

	@Override
	public String sayHellob(HelloRsBean helloRsBean) {
		System.out.println(helloRsBean.toString());
		return "majingjing-2";
	}

}
